<?php /*
 * @see eve_squadrons_admin_list()
 * @see template_preprocess_eve_ranks_admin_list(&$summary)
 */ ?>
<table>
<tr>
	<th> Name </th>
	<th> Nick </th>
	<th> Image </th>
	<th> Member Role</th>
	<th> Leader Role </th>
	<th colspan="2">Actions</th>
</tr>
<?php
	global $base_url;
 	foreach ($squadrons as $squadron) { 
?>
<tr>
	<td> <?php print $squadron['name']; ?> </td>
	<td> <?php print $squadron['nick']; ?> </td>
	<td> <img src='<?php print $rank['image_url'] ?>'/> </td>
	<td> <?php print $squadron['member_role_name']; ?></td>
	<td> <?php print $squadron['leader_role_name']; ?></td>
	<td> <?php print l(t('edit'), 'admin/settings/eve_squadrons/edit/'. $squadron['squadron_id']); ?> </td>
	<td> <?php print l(t('delete'), 'admin/settings/eve_squadrons/delete/'. $squadron['squadron_id']); ?> </td>
</tr>
<?php } ?>
</table>
